from django.db import models

class User(models.Model):
    username=models.CharField(max_length=50)
    password=models.CharField(max_length=50)
    email=models.EmailField()

    class Meta:
        verbose_name_plural='用户'

    def __str__(self):
        return self.username

class member(models.Model):
    name=models.CharField(max_length=50)
    email=models.EmailField()
    pic_url=models.FileField()
